package com.wnh.demo.user.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wnh.demo.user.entity.User;
import com.wnh.demo.user.mapper.UserMapper;
import com.wnh.demo.user.service.IUserService;

/**
 * <p>
 * InnoDB free: 13312 kB 服务实现类
 * </p>
 *
 * @author wangnenghui
 * @since 2020-07-20
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements IUserService {
 
	@Autowired
	UserMapper userMapper;
	
	public Object test() {
		User u=super.getById("1");
		User u1=userMapper.selectById("1");
		super.baseMapper.selectById("1");
		
		return null;
		
	}
}
